package com.smartmedical.system.domain;

import java.util.Date;

public class UserInfoConllection {
    private Long id ; // 主键ID
    private int userId ; // 用户ID
    private int infoId ; // 信息ID
    private Date createTime ; // 创建时间


    @Override
    public String toString() {
        return "UserInfoConllection{" +
                "id=" + id +
                ", userId=" + userId +
                ", infoId=" + infoId +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getInfoId() {
        return infoId;
    }

    public void setInfoId(int infoId) {
        this.infoId = infoId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public UserInfoConllection() {
    }

    public UserInfoConllection(Long id, int userId, int infoId, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.infoId = infoId;
        this.createTime = createTime;
    }
}
